/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dom;

import java.io.InputStream;
import java.io.OutputStream;

/**
 *
 * @author julian.pena
 */
public interface Reciever {
    
    public void action()throws Exception;
    
    public InputStream getInputStream();
    
    public void setInputStream(InputStream inputStream);
    
    public OutputStream getOutputStream();
    
    public void setOutputStream(OutputStream outputStream);
    
    public void setCommand(Command command);
    
    public void stop(String fileName);
    
    public void notifyStop(String fileName);
    
    public boolean isInputReady();
    
    public boolean isOutputReady();
}
